package com.itjin.model.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 帖子VO对象
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
public class PostVO {

  @Schema
  private Integer id;

  @Schema
  private Integer userId;

  @Schema
  private String title;

  @Schema
  private String content;

  @Schema
  private Integer likeCount;

  @Schema
  private Integer collectCount;

  @Schema
  private Integer commentCount;

  @Schema
  private Integer viewCount;

  @Schema
  private Integer postStatus;

  @Schema
  private List<String> tags;

  @Schema
  private String coverImage;

  @Schema
  private Date createTime;

  @Schema
  private Date updateTime;
}